const schedule = require('node-schedule');
const fs=require('fs');
const  scheduleCronstyle = ()=>{
    
    schedule.scheduleJob('1 * * * * *',()=>{
        fs.unlinkSync(`../text.txt`);
    });
}
scheduleCronstyle();